package common.models.dtos;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class StoreDto {

    private String name;    //姓名模糊
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern ="yyyy-MM-dd" )
    private Date StartTime;     //开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern ="yyyy-MM-dd" )
    private Date EndTime;       //结束时间

    private String regionLike;  //区域查询

    private Integer rating;    //星级条件

    private Integer storeId;   //根据专管员的id进行查询


}
